package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 项目成员关联关系
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_project_user_info")
@ApiModel (value = "项目成员关联关系", description = "项目成员关联关系")
public class ProjectUserEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("项目Id")
    @TableField ("project_id")
    private String projectId;

    @ApiModelProperty ("项目负责人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("项目负责人类型;1:项目经理;2:商务人员;3:技术人员;4:采购人员;5:财务人员;6:项目管理人员;7:其他人员")
    @TableField ("type")
    private Integer type;

    @ApiModelProperty ("工时单价")
    @TableField ("price_ofHours")
    private String priceOfhours;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;

    @TableField(exist = false)
    private String name;

}
